<? if(!defined('IN_ROOT')) exit('Access Denied'); require_once MY_ROOT . '/lib/tpl.config.php'; ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?=MY_CHARSET?>"/>
<title><?=$navtitle?> <?=$setting['site_name']?><? if($site['name']) { ?><?=$site['name']?>站<? } ?> <?=$setting['seo_title']?></title>
<meta name="keywords" content="<?=$metakeywords?> <?=$setting['seo_keywords']?>" />
<meta name="description" content="<?=$metadescription?> <?=$setting['site_name']?> <?=$setting['seo_description']?>" />
<meta name="generator" content="ManYou <?=MY_VERSION?> <?=MY_RELEASE?>" />
<meta name="author" content="ManYou Team" />
<meta name="copyright" content="2011 766580.com." />
<meta name="robots" content="index, follow">
<meta name="googlebot" content="index, follow">
<link href="<?=SITE_URL?>img/css.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
g_site_url='<?=SITE_URL?>';g_prefix='<?=$setting['seo_prefix']?>';g_suffix='<?=$setting['seo_suffix']?>';editor_items='<?=$setting['editor_items']?>';
</script>
<script src="<?=SITE_URL?>img/js.js" type="text/javascript"></script>
<?=$setting['seo_headers']?>
</head>
<body>
    <!-- head -->
<div class="login"><? if(0!=$user['uid']) { ?>您好,<a href="<?=SITE_URL?>?user/default.html"><strong><?=$user['username']?></strong></a>,您的用户身份是 <?=$user['grouptitle']?> <? if($user['groupid']<=3) { ?>| <a href="<?=SITE_URL?>index.php?admin_main">系统设置</a> <? } if($user['groupid']==7) { ?>| <a href="<?=SITE_URL?>index.php?user/member">会员中心</a><? } ?>  <? if($user['groupid']==8) { ?>| <a href="<?=SITE_URL?>index.php?user/fenxiaoline">后台管理</a><? } ?> <? if($user['groupid']==9) { ?>| <a href="<?=SITE_URL?>index.php?line/pifaline">后台管理</a><? } ?> 
| <a href="<?=SITE_URL?>?user/logout.html">退出</a> <? } else { ?>    您好，欢迎来<?=$setting['site_name']?>！[<a  href="<?=SITE_URL?>?user/login.html">注册登录</a> ]<? } ?> </div>
<div class="logo">
<a href="<?=SITE_URL?>"><img src="img/logo.gif" width="230" height="60" /></a>

<h5><a href="index.php?site/list/<?=$user['siteid']?><?=$setting['seo_suffix']?>"><?=$user['sitename']?></a></h5>
    <span><a href="index.php">[切换城市]</a></span>
</div>
<div class="menu mtop">
  <form  method="post" action="">
  	<input type="text" value="请输入线路编号、线路关键词" onclick="this.value=''"/>
    <select name="area1" id="area1" onchange="get_city();"><option value="">选择省</option>
<? if(is_array($areacn)) { foreach($areacn as $areaid => $area) { ?>
<option value="<?=$areaid?>"><?=$area['name']?></option>
<? } } ?>
</select>
    <span id="area22"><select name="area2" id="area2"><option value="0">选择市</option></select></span>
    <input  class="headsub"name="search" type="submit" value=""  />  
  </form>

   <div><a href="index.php?industry/list/<?=$user['siteid']?>">同业频道</a>&nbsp;
       |<a href="index.php?travel/list/<?=$user['siteid']?>">旅行社</a>|
       <a href="index.php?attractions/list/<?=$user['siteid']?>">景区门票</a>
       |<a href="index.php?visa/list/<?=$user['siteid']?>">签证</a>|</div>
</div>
<div class="clearbotn"></div>
<!-- head  end-->